#ifndef __SimpleWindow_h__
#define __SimpleWindow_h__

#include <Ewl.h>
#include "mem_macros.h"
#include "mem_structures.h"
#include "mem_functions.h"

#if HAVE___ATTRIBUTE__
#define __UNUSED__ __attribute__((unused))
#else
#define __UNUSED__
#endif

void destroy_real(Ewl_Widget *w, void *event, void *data);

int gui_init(int argc, char **argv);

int gui_update_text(buffer_t* buffer);

buffer_t* gui_get_buffer_for_widget(Ewl_Widget *w);

int gui_update_status(char *status);

#endif
